app.service('indexService',function ($http) {
    this.getUser = function () {
        return $http.get('../login/getUser.do');
    }
});